Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

335
Vistas
VideoJS: Catch global "net:ERR_FILE_NOT_FOUND" and stop URL from automatically convert to Blob

I am using videojs for streaming an HLS stream. Lately it stopped working on Windows and Android and I guess it is related to a recent update on chrome for those systems, that prevents opening of Blob URLs (like blob:https://example.com/00f85-8fac4e6a78-1aae3b). I've set the sorce video url in a plain format (like https://example.com/video.m3u8), but videojs converts it automatically to a Blob. First question is: is there a way to prevent this and get videojs to load the plain url?

Also, sometimes (usually when server's ffmpeg opens the video.m3u8 for writing at the same time the videojs requests it) there is an error in the console ERR_FILE_NOT_FOUND. This error is not comming from the videojs plugin, but from the window object. I want to reinitialize the player when such error occurs, but I don't seem to know how to catch it. I tried window.onerror and window.addEventListener('error', function() {... but with no luck. I would greatly appreciate any help on this issue.

I need a vanillaJS solution, the website is a simple WordPress blog with no npm or node available on the server.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda